//
//  test.h
//  FBSnapshotTestCase
//
//  Created by zhuxm2023 on 2024/1/23.
//


#import <UIKit/UIKit.h>


NS_ASSUME_NONNULL_BEGIN

//2024.1.13新增
@interface UIScreen (ZXCategory)


//逻辑像素(pt)
@property (nonatomic, readonly, class) CGFloat screenWidth;

@property (nonatomic, readonly, class) CGFloat screenHeight;

@property (nonatomic, readonly, class) CGSize screenSize;

//物理像素（px像素）
@property (nonatomic, readonly, class) CGSize physicalPixelsSize;

//CGFloat scale:获取屏幕相关的自然比例因子；@2x,@3x

//获取 iOS 设备屏幕尺寸（英寸）。通过设备型号判断：由于 iOS 不直接提供屏幕尺寸的 API，最可靠的方法是根据设备型号来判断：

@property (nonatomic, readonly, class) CGFloat screenInch;

@end

NS_ASSUME_NONNULL_END
